package com.hbnu.abstract1;

/**
 * 抽象类
 *
 * @author kittychen
 * @since 2025-09-17 16:29
 */
public abstract class AbstractDemo01 {

    private String username;

    private static int a;

    private static final double PI = 3.1415926;

    public AbstractDemo01() {
    }

    public AbstractDemo01(String username) {
        this.username = username;
    }

    public static void main(String[] args) {

    }

    public void method01(String name) {
        System.out.println("这是一个具体方法，而不是抽象方法");
    }

    public abstract void method02();

    public abstract void method03();
}
